<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.staticfile.org/jquery/2.0.0/jquery.min.js"></script>
    <script>
        $(document).ready(function () {
            $("#show").click(function () {
                $("#content").show();
            });
            $("#hide").click(function () {
                $("#content").hide();
            });
        });
    </script>
</head>

<body>
    <p id="content">显示和隐藏范例</p>
    <button id="show">显示</button>
    <button id="hide">隐藏</button>
</body>

</html>